import request from '@/utils/request'

// 查询产品信息列表
export function listCea(query) {
  return request({
    url: '/process/cea/list',
    method: 'get',
    params: query
  })
}

// 查询产品信息详细
export function getCea(processName) {
  return request({
    url: '/process/cea/' + processName,
    method: 'get'
  })
}

// 新增产品信息
export function addCea(data) {
  return request({
    url: '/process/cea',
    method: 'post',
    data: data
  })
}

// 修改产品信息
export function updateCea(data) {
  return request({
    url: '/process/cea',
    method: 'put',
    data: data
  })
}

// 删除产品信息
export function delCea(processName) {
  return request({
    url: '/process/cea/' + processName,
    method: 'delete'
  })
}
